package com.bw.liveplay.common.network

import com.bw.liveplay.common.entity.BaseEntity
import io.reactivex.functions.Function

/**
 * @author KK
 * @description:
 * @date :2021/11/9 18:41
 *
 */
class ChanageObservable<T : Any,BaseEntity> : Function<T,BaseEntity>{

    override fun apply(t: T): BaseEntity {
       return t as BaseEntity
    }
}